/******/ (function(modules) { // webpackBootstrap
/******/ 	// The module cache
/******/ 	var installedModules = {};

/******/ 	// The require function
/******/ 	function __webpack_require__(moduleId) {

/******/ 		// Check if module is in cache
/******/ 		if(installedModules[moduleId])
/******/ 			return installedModules[moduleId].exports;

/******/ 		// Create a new module (and put it into the cache)
/******/ 		var module = installedModules[moduleId] = {
/******/ 			exports: {},
/******/ 			id: moduleId,
/******/ 			loaded: false
/******/ 		};

/******/ 		// Execute the module function
/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);

/******/ 		// Flag the module as loaded
/******/ 		module.loaded = true;

/******/ 		// Return the exports of the module
/******/ 		return module.exports;
/******/ 	}


/******/ 	// expose the modules object (__webpack_modules__)
/******/ 	__webpack_require__.m = modules;

/******/ 	// expose the module cache
/******/ 	__webpack_require__.c = installedModules;

/******/ 	// __webpack_public_path__
/******/ 	__webpack_require__.p = "";

/******/ 	// Load entry module and return exports
/******/ 	return __webpack_require__(0);
/******/ })
/************************************************************************/
/******/ ([
/* 0 */
/***/ function(module, exports, __webpack_require__) {

	/**
	 * Created by Administrator on 2017/3/14.
	 */
	var Slider = __webpack_require__(51);
	var Advisory = __webpack_require__(52);
	var HyperLink = __webpack_require__(17);
	var Layer = __webpack_require__(11);
	var Calculator = __webpack_require__(53);
	var Form = __webpack_require__(6);
	var Formitem = __webpack_require__(7);
	var Button = __webpack_require__(12);
	var Input = __webpack_require__(9);
	var Textarea = __webpack_require__(54);
	var Backtop = __webpack_require__(55);
	var HotItem = __webpack_require__(56);
	var Steps = __webpack_require__(23);

	var AppDownload = React.createClass({displayName: "AppDownload",
	    getInitialState:function () {
	      return{
	          URL:PageDM.URL.value
	      }
	    },
	    render:function () {
	        var _this = this;
	        return (
	            React.createElement("div", {className: "down"}, 
	                React.createElement("a", {href: _this.state.URL.downloadAndroid, target: "_black", className: "android"}, React.createElement("span", {className: "iconfont icon-android"}), "Android下载"), 
	                React.createElement("a", {href: _this.state.URL.downloadIOS, target: "_black", className: "ios"}, React.createElement("span", {className: "iconfont icon-ios"}), "iOS下载")
	            )
	        )
	    }
	});

	var Banner = React.createClass({displayName: "Banner",
	    getInitialState:function() {
	        return {
	            banners: PageDM.banners.value
	        }
	    },
	    setSelfState:function(obj){
	        this.setState(obj);
	    },
	    render:function(){
	        var config = {
	            dots: true,
	            arrows: true,
	            autoPlay: true,
	            autoPlaySpeed: 5000
	        }
	        return(
	            React.createElement("div", {className: "banner-warp"}, 
	                React.createElement(Slider, {config: config}, 
	                    
	                        this.state.banners.map(function(item,idx){
	                            return (
	                                React.createElement("a", {href: item.LinkUrl?item.LinkUrl:"javascript:void(0);", className: idx==0?"ucs-slider-item active-item":"ucs-slider-item", target: item.OpenMode == 1?"_blank":"_self", style: {background: "url("+item.PicUrl+")  center 0 no-repeat"}}, 
	                                    React.createElement("div", {className: "inner"})
	                                )
	                            )
	                        })
	                    
	                )
	            )
	        )
	    }
	});

	var Root = React.createClass({displayName: "Root",
	    getInitialState:function(){
	        return {
	            //banners:PageDM.banners.value,
	            projectList:PageDM.projectList.value,
	            amount:PageDM.amount.value,
	            questions:PageDM.questions.value,
	            investment:PageDM.investment.value,
	            notices:PageDM.notices.value,
	            steps:PageDM.steps.value,
	            URL:PageDM.URL.value
	        }
	    },
	    _handleClick: function () {
	        this.refs.calculator.layerOpen();
	    },
	    _feedbackClick: function(){
	        var PageDM = window.PageDM;
	        this.refs[PageDM.feedback.dmbind].layerOpen();
	        this.refs.feedbackForm.reset();
	    },
	    componentDidMount:function(){
	        var _this = this;
	        var PageDM = window.PageDM;
	        UEventHub.on('LayerOpen',function (v) {
	            _this.refs[v].layerOpen();
	        });
	        UEventHub.on('LayerClose',function (v) {
	            _this.refs[v].layerClose();
	        });

	        //轮播图
	        UEventHub.on(PageDM.banners.dmbind + UI_EVENT_CONST.SET_UDM_VALUE_EVENT, function(v){
	            _this.refs.banner.setSelfState({
	                banners:v
	            });
	            /*_this.setState({
	                banners:v
	            })*/
	        });
	        //平台公告
	        UEventHub.on(PageDM.notices.dmbind + UI_EVENT_CONST.SET_UDM_VALUE_EVENT, function(v){
	            _this.setState({
	                notices:v
	            })
	        });
	        //推荐投资列表
	        UEventHub.on(PageDM.projectList.dmbind + UI_EVENT_CONST.SET_UDM_VALUE_EVENT, function(v){
	            _this.refs.hotItem.setState({
	                data:{
	                    list:v
	                }
	            })
	            /*_this.setState({
	                projectList:v
	            })*/
	        });
	        //累计数据
	        UEventHub.on(PageDM.amount.dmbind + UI_EVENT_CONST.SET_UDM_VALUE_EVENT, function(v){
	            _this.setState({
	                amount:v
	            })
	        });
	        //最新投资
	        UEventHub.on(PageDM.investment.dmbind + UI_EVENT_CONST.SET_UDM_VALUE_EVENT, function(v){
	            _this.setState({
	                investment:v
	            })
	        });
	        //常见问题
	        UEventHub.on(PageDM.questions.dmbind + UI_EVENT_CONST.SET_UDM_VALUE_EVENT, function(v){
	            _this.setState({
	                questions:v
	            })
	        });
	        //投资步骤
	        UEventHub.on(PageDM.steps.dmbind + UI_EVENT_CONST.SET_UDM_VALUE_EVENT, function(v){
	            _this.refs.steps.setState({
	                data:v
	            });
	            /*_this.setState({
	                steps:v
	            })*/
	        });
	        //URL
	        UEventHub.on(PageDM.URL.dmbind + UI_EVENT_CONST.SET_UDM_VALUE_EVENT, function(v){
	            _this.refs.appDownload.setState({
	                URL:v
	            })
	        });
	        UEventHub.emit("pageLoad","hello world!");
	    },
	    render: function () {
	        var _this = this;

	        //累计数据
	        var _accumulative = {
	            unit:_this.state.amount.unit,
	            transaction:_this.state.amount.CumulativeTransactionAmount,
	            produce:_this.state.amount.AccumulatedIncome
	        };
	        //推荐列表
	        var _hot_item = {
	            moreUrl:_this.state.URL.investList,
	            //list:_this.state.projectList
	            list:PageDM.projectList.value
	        };
	        //常见问题
	        var _question = {
	            moreUrl:_this.state.URL.questions,
	            list:_this.state.questions
	        };
	        //投资步骤
	        var _steps = {
	            list:_this.state.steps
	        };
	        //平台公告轮播
	        var _noticeScroll = {
	            notices: _this.state.notices,
	            config: {
	                speed: 20,  //滚动速度
	                type: 2,    //1：无缝滚动，2：间歇滚动:只有向上滚动的场景
	                stopTime: 3000  //间歇滚动停顿时间
	            },
	            moreUrl: _this.state.URL.notices
	        }

	        //最新投资
	        var _newInvest = {
	            list: _this.state.investment,
	            config: {
	                speed: 33,  //滚动速度
	                type: 1    //1：无缝滚动，2：间歇滚动:只有向上滚动的场景
	            }
	        }

	        return (
	            React.createElement("div", null, 
	                React.createElement(Banner, {ref: "banner"}), 

	                React.createElement(HotItem, {ref: "hotItem", data: _hot_item}), 
	                React.createElement("div", {className: "index-app"}, 
	                    React.createElement("div", {className: "wrap"}, 
	                        React.createElement("h2", {className: "index-title"}, React.createElement("b", null), "APP下载", React.createElement("b", null)), 
	                        React.createElement("div", {className: "content"}, 
	                            React.createElement("div", {className: "qrcode"}, React.createElement("img", {src: "../content/images/qrcode.jpg", alt: ""})), 
	                            React.createElement(AppDownload, {ref: "appDownload"})
	                        )
	                    )
	                ), 
	                React.createElement("div", {className: "index-steps"}, 
	                    React.createElement("div", {className: "wrap"}, 
	                        React.createElement("h2", {className: "index-title"}, React.createElement("b", null), "只要4步，轻松投资", React.createElement("b", null)), 
	                        React.createElement("div", {className: "ucs-steps"}, 
	                            React.createElement(Steps, {ref: "steps", data: _steps})
	                        )
	                    )
	                ), 
	                React.createElement(Advisory, null, 
	                    React.createElement(HyperLink, {href: _this.state.URL.my, text: React.createElement("div", null, React.createElement("span", {className: "iconfont icon-my"}), React.createElement("span", {className: "bg-icon circle"}), React.createElement("p", null, "我的"))}), 
	                    React.createElement(HyperLink, {href: _this.state.URL.investList, text: React.createElement("div", null, React.createElement("span", {className: "iconfont icon-invest"}), React.createElement("span", {className: "bg-icon circle"}), React.createElement("p", null, "投资"))}), 
	                    React.createElement(HyperLink, {href: _this.state.URL.borrow, text: React.createElement("div", null, React.createElement("span", {className: "iconfont icon-loan"}), React.createElement("span", {className: "bg-icon circle"}), React.createElement("p", null, "借款"))}), 
	                    React.createElement("p", {className: "line"}), 
	                    React.createElement(HyperLink, {className: "relative", text: 
	                        React.createElement("div", null, 
	                            React.createElement("span", {className: "iconfont icon-scan"}), 
	                            React.createElement("span", {className: "hover-tips qrcode"}, React.createElement("b", null), React.createElement("img", {src: "../content/images/qrcode.jpg", alt: ""}), React.createElement("p", null, "扫一扫"))
	                        )
	                    }), 
	                    React.createElement(HyperLink, {href: _this.state.URL.notices, className: "relative", text: 
	                        React.createElement("div", null, 
	                            React.createElement("span", {className: "iconfont icon-message"}), 
	                            React.createElement("span", {className: "hover-tips"}, React.createElement("b", null), "公告")
	                        )
	                    }), 
	                    React.createElement(HyperLink, {className: "relative calculator open-calculator", onClick: this._handleClick.bind(this), text: 
	                        React.createElement("div", null, 
	                            React.createElement("span", {className: "iconfont icon-calculator"}), 
	                            React.createElement("span", {className: "hover-tips"}, React.createElement("b", null), "计算器")
	                        )
	                    }), 
	                    React.createElement(HyperLink, {className: "relative feedback open-feedback", onClick: this._feedbackClick.bind(this), text: 
	                        React.createElement("div", null, 
	                            React.createElement("span", {className: "iconfont icon-feedback"}), 
	                            React.createElement("span", {className: "hover-tips"}, React.createElement("b", null), "意见反馈")
	                        )
	                    }), 
	                    React.createElement(HyperLink, {className: "backtop", text: React.createElement(Backtop, null, React.createElement("span", {className: "iconfont icon-top"}), React.createElement("span", null, "TOP"))})
	                ), 

	                React.createElement(Calculator, {ref: "calculator", days: PageDM.days.value}), 

	                React.createElement(Layer, {ref: PageDM.feedback.dmbind, title: React.createElement("h3", {className: "ucs-alert-title"}, React.createElement("b", null), React.createElement("span", null, "意见反馈"), React.createElement("b", null)), className: "feedback-layer", move: false}, 
	                    React.createElement("div", {className: "layer-feedback"}, 
	                        React.createElement(Form, {ref: "feedbackForm"}, 
	                            React.createElement("p", {className: "tips"}, "您好，欢迎您对新银e融投融资平台提出意见和建议，我们会努力改善和提升用户体验。"), 
	                            React.createElement(Formitem, {dmbind: PageDM.textarea.dmbind, className: "text-area"}, 
	                                React.createElement(Textarea, {className: "ucs-input-control", placeholder: "请写下您的宝贵意见", dmbind: PageDM.textarea.dmbind})
	                            ), 
	                            React.createElement("div", {className: "clear"}), 
	                            React.createElement("p", null, "请留下您的邮箱，我们会第一时间给您答复。"), 
	                            React.createElement(Formitem, {dmbind: PageDM.email.dmbind, className: "email"}, 
	                                React.createElement(Input, {placeholder: PageDM.email.placeholder, dmbind: PageDM.email.dmbind})
	                            )
	                        ), 
	                        React.createElement(Button, {value: "确认提交", className: "ucs-btn-confirm", onClick: PageDM.feedback.confirmBack})
	                    )
	                )
	            )
	        )
	    }
	});
	ReactDOM.render(React.createElement(Root, null), document.getElementById('giraffe'));

/***/ },
/* 1 */,
/* 2 */
/***/ function(module, exports) {

	/**
	 *
	 * @constructs
	 */
	var Tooltip = React.createClass({displayName: "Tooltip",
	    _addEventListener:function(obj,ev,fn){
			obj.addEventListener ? obj.addEventListener(ev,fn,false) : obj.attachEvent("on" + ev,fn)
	    },
	    _removeEventListener: function (obj, ev, fn) {
	        obj.removeEventListener ? obj.removeEventListener(ev, fn, false) : obj.detachEvent("on" + ev, fn)
	    },
		getDefaultProps: function() {
			return {
				container: document.body,
				position: 'top',
				fixed: true,
				space: 5
			}
		},
		componentDidMount: function() {
			this.container = this.props.container || document.body;
			this.componentEl = this.refs.tooltipbox;
			this.tooltipEl = document.createElement('div');

			var tooltipArrowEl = document.createElement('div');
			tooltipArrowEl.className = 'ucs-tooltip-arrow';

			var tooltipContentEl = document.createElement('div');
			tooltipContentEl.className = 'ucs-tooltip-inner';
			tooltipContentEl.innerHTML = this.props.title;

			this.tooltipEl.appendChild(tooltipArrowEl);
			this.tooltipEl.appendChild(tooltipContentEl);
			this.tooltipEl.className = 'ucs-tooltip ' + this.props.position;
			this.container.appendChild(this.tooltipEl);
			this.resetTooltip();
			var _componentEl =  this.componentEl;
			this._addEventListener(_componentEl, this.props.fixed ? 'mouseenter' : 'mousemove', this.handleMouseMove.bind(this));
			this._addEventListener(_componentEl, 'mouseleave', this.handleMouseOut.bind(this));
		},

		resetTooltip: function() {
			this.tooltipEl.style.left = '-500px';
			this.tooltipEl.style.top = '-500px';
			this.tooltipEl.style.visibility = "hidden";
		},

		handleMouseMove: function(e) {
			if(!this.props.title) {
				return;
			}

			var tooltipPosition = this.getTooltipPosition(e);
			var tooltipOffset = this.getTooltipOffset();

			this.tooltipEl.style.left = tooltipPosition.x + tooltipOffset.x + 'px';
			this.tooltipEl.style.top = tooltipPosition.y + tooltipOffset.y + 'px';
			this.tooltipEl.style.visibility = "visible";
		},

		handleMouseOut: function() {
			this.resetTooltip();
		},
		//定位到标签的位置
		getTooltipPosition: function(e) {
			var pointX;
			var pointY;
			var bodyRect = document.body.getBoundingClientRect();
			var containerRect = this.container.getBoundingClientRect();
			var containerOffsetX = containerRect.left - bodyRect.left;
			var containerOffsetY = containerRect.top - bodyRect.top;
			if(this.props.fixed) {
				var componentRect = this.componentEl.getBoundingClientRect();
				var componentOffsetX = componentRect.left - containerOffsetX;
				var componentOffsetY = componentRect.top - containerOffsetY;
				var componentWidth = this.componentEl.offsetWidth;
				var componentHeight = this.componentEl.offsetHeight;
				var cOffsetX = 0;
				var cOffsetY = 0;
				switch(this.props.position) {
					case 'top':
						cOffsetX = componentWidth / 2;
						cOffsetY = 0;
						break;
					case 'right':
						cOffsetX = componentWidth;
						cOffsetY = componentHeight / 2;
						break;
					case 'bottom':
						cOffsetX = componentWidth / 2;
						cOffsetY = componentHeight;
						break;
					case 'left':
						cOffsetX = 0;
						cOffsetY = componentHeight / 2;
						break;
				}
				pointX = componentOffsetX + cOffsetX + (window.scrollX || window.pageXOffset || document.documentElement.scrollLeft || 0);
				pointY = componentOffsetY + cOffsetY + (window.scrollY || window.pageYOffset || document.documentElement.scrollTop || 0);
			} else {
				var clientX = e.clientX;
				var clientY = e.clientY;
				pointX = clientX - containerOffsetX + (window.scrollX || window.pageXOffset || document.documentElement.scrollLeft || 0);
				pointY = clientY - containerOffsetY + (window.scrollY || window.pageYOffset || document.documentElement.scrollTop || 0);
			}
			return {
				x: pointX,
				y: pointY
			};
		},
		//获取偏移量
		getTooltipOffset: function() {
			var tooltipW = this.tooltipEl.offsetWidth;
			var tooltipH = this.tooltipEl.offsetHeight;
			var offsetX = 0;
			var offsetY = 0;
			switch(this.props.position) {
				case 'top':
					offsetX = -(tooltipW / 2);
					offsetY = -(tooltipH + Number(this.props.space));
					break;
				case 'right':
					offsetX = Number(this.props.space);
					offsetY = -(tooltipH / 2);
					break;
				case 'bottom':
					offsetX = -(tooltipW / 2);
					offsetY = Number(this.props.space);
					break;
				case 'left':
					offsetX = -(tooltipW + Number(this.props.space));
					offsetY = -(tooltipH / 2);
					break;
			}
			return {
				x: offsetX,
				y: offsetY
			};
		},
		render: function() {
			return (
			    React.createElement("div", {ref: "tooltipbox", className: this.props.className?("ucs-tooltip-wrap "+this.props.className):"ucs-tooltip-wrap"}, this.props.children)
	        )
		}
	});

	module.exports = Tooltip;

/***/ },
/* 3 */,
/* 4 */,
/* 5 */,
/* 6 */
/***/ function(module, exports) {

	/**
	 * Giraffe
	 * 创建人：DuHuiling
	 * 创建时间：2017/5/12
	 * 说明：form组件
	 */
	var Form = React.createClass({displayName: "Form",
	    reset:function(){
	        for(var i = 0;i < this.props.children.length;i++){
	            var item = this.props.children[i];
	            var disname = item.displayName ? item.displayName.toLowerCase() : "";
	            if(disname == "formitem"){
	                item.clearValue();
	            }
	        }
	    },
	    render:function(){
	        return(
	            React.createElement("div", null, 
	                this.props.children
	            )
	        )
	    }
	});
	module.exports = Form;

/***/ },
/* 7 */
/***/ function(module, exports, __webpack_require__) {

	/**
	 * Created by Administrator on 2017/3/1.
	 */
	var Label = __webpack_require__(8);

	var FormItem = React.createClass({displayName: "FormItem",
	    getDefaultProps:function(){
	        return{
	            id:"",
	            label:"",
	            dmbind:"",
	            className:"",
	            correctMsg:'',
	            unValidate:false
	        }
	    },
	    getInitialState:function(){
	        return {
	            tipHide:true,
	            text:'',
	            msgClass:'ucs-form-explain'
	        }
	    },
	    componentDidMount:function(){
	        var ICON_FONT_CONST = window.UI_CONST.ICON_FONT_CONST;
	        var iconCorrect = ICON_FONT_CONST['icon-correct'];
	        // console.log(iconCorrect)
	        var _udmid = this.props.dmbind;
	        var _this = this;
	        UEventHub.on(_udmid + UI_EVENT_CONST.ONVALIDATE_EVENT,function(msg){
	            if(_this.props.unValidate) return;

	            var _msg = msg;
	            if(!_msg){
	                _this.refs[_this.props.dmbind].className = "ucs-form-explain success";
	                _this.refs[_this.props.dmbind].innerHTML = '<div><i class="iconfont ">'+iconCorrect+'</i>'+_this.props.correctMsg+'</div>';
	            }else if(_msg == "clean"){
	                _this.refs[_this.props.dmbind].className = "ucs-form-explain";
	                _this.refs[_this.props.dmbind].innerHTML = '<div></div>';
	            }else{
	                _this.refs[_this.props.dmbind].className = "ucs-form-explain";
	                _this.refs[_this.props.dmbind].innerHTML = '<div><i class="iconfont icon-error"></i>'+_msg+'</div>';
	            }
	        }.bind(this));

	        GiraffObjectManager[_this.props.dmbind].reset = function(){
	            return _this.clearValue();
	        }

	    },
	    getChildrenRefs:function(ref){
	        return this.refs[ref];
	    },
	    clearValue:function(){
	        var _this = this;
	        GiraffObjectManager[_this.props.dmbind].value = "";
	        _this.setState({
	            msgClass:"ucs-form-explain hide"
	        });
	    },
	    render:function(){
	        var _this = this;
	        return(
	            React.createElement("div", React.__spread({},  this.props, {className: "ucs-form-group " + this.props.className, id: this.props.id}), 
	                React.createElement(Label, {value: this.props.label}), 
	                
	                    this.props.children.map(function(item,idx){
	                        if(item.tagName == "INPUT" || item.tagName == "TEXTAREA" || item.displayName == "Input" || item.displayName == "Password" || item.displayName == "Textarea"){
	                            return React.cloneElement(item,{
	                                onFocus:function(){
	                                    _this.refs[_this.props.dmbind].className = "ucs-form-explain hide";
	                                },
	                                value:GiraffObjectManager[_this.props.dmbind].value
	                            });
	                        }else{
	                            return item;
	                        }
	                    }), 
	                
	                React.createElement("div", {className: this.state.msgClass, ref: this.props.dmbind}, this.state.text)
	            )
	        )
	    }
	});

	module.exports = FormItem;

/***/ },
/* 8 */
/***/ function(module, exports) {

	/**
	 * Created by DuHuiling on 2017/2/24.
	 */
	var Label = React.createClass({displayName: "Label",
	    getDefaultProps:function(){
	        return {
	            id:"",
	            setFor:"",
	            value:"这是Label",
	            className:""
	        }
	    },
	    render:function(){
	        return(
	            React.createElement("label", {id: this.props.id, For: this.props.setFor, className: "ucs-label "+this.props.className}, this.props.value)
	        )
	    }
	});
	module.exports = Label;

/***/ },
/* 9 */
/***/ function(module, exports) {

	var Input = React.createClass({displayName: "Input",
	    getDefaultProps: function () {
	        return {
	            className: 'ucs-input',
	            dmbind: '',
	            placeholder: "",
	            onFocus: function () {
	            },
	            onBlur: function () {
	            }
	        };
	    },
	    componentDidMount: function () {
	    },
	    _onKeyUp:function (e) {
	          this.props.onKeyUp && this.props.onKeyUp(e);
	    },
	    _onFocus: function (e) {
	        var _nodeInput = e.target || e.srcElement,
	            _nodeSpan = _nodeInput.nextSibling;
	        if (_nodeSpan.className == "ucs-placeholder") {
	            _nodeSpan.className = "ucs-placeholder hide";
	        }
	        this.props.onFocus && this.props.onFocus();
	    },
	    _handle: function (e) {
	        var _nodeSpan = e.target || e.srcElement,
	            _node = _nodeSpan.parentNode,
	            _nodeInput = _node.firstChild;
	        if (_nodeSpan.className == "ucs-placeholder") {
	            _nodeSpan.className = "ucs-placeholder hide";
	        }
	        _nodeInput.focus();
	    },
	    _placeholder: function (_this) {
	        if (!('placeholder' in document.createElement('input'))) {
	            return (
	                React.createElement("span", {className: "ucs-placeholder", onClick: _this._handle}, _this.props.value ? _this.props.value : _this.props.placeholder)
	            );
	        } else {
	            return "";
	        }
	    },
	    _onBlur: function (e) {
	        if (!('placeholder' in document.createElement('input'))) {
	            var _nodeInput = e.target || e.srcElement,
	                _node = _nodeInput.parentNode,
	                _nodeSpan = _node.lastChild;
	            if (!_nodeInput.value) {
	                _nodeSpan.className = "ucs-placeholder";
	                _nodeSpan.innerHTML = this.props.placeholder;
	            }
	        }
	        this.props.onBlur && this.props.onBlur();
	    },
	    focus:function () {
	        this.refs.input.focus();

	    },
	    checkPlaceHolder:function () {
	        if (!('placeholder' in document.createElement('input'))) {
	            var _nodeInput = this.refs.input,
	                _node = _nodeInput.parentNode,
	                _nodeSpan = _node.lastChild;
	            if (!_nodeInput.value) {
	                _nodeSpan.className = "ucs-placeholder";
	                _nodeSpan.innerHTML = this.props.placeholder;
	            }
	        }
	    },
	    render: function () {
	        var that = this;
	        var GiraffeObjectManager = window.GiraffObjectManager;
	        if(this.props.dmbind){
	            var MaxLength = GiraffeObjectManager[this.props.dmbind].maxLength;
	            GiraffeObjectManager[this.props.dmbind].focus = function () {
	                document.getElementById(that.props.dmbind).focus();  //todo:这是一个比较麻烦的问题，后续再优化，暂时先这样把
	            }
	        }
	        if (MaxLength == undefined) {
	            return (
	                React.createElement("div", {className: "ucs-input-control"}, 
	                    React.createElement("input", {ref: "input", 
	                           type: "text", 
	                           id: this.props.dmbind, 
	                           value: this.props.value ? this.props.value : '', 
	                           className: this.props.className, 
	                           dmbind: this.props.dmbind, 
	                           placeholder: this.props.placeholder, 
	                           onkeyup: this._onKeyUp.bind(this), 
	                           onfocus: this._onFocus.bind(this), 
	                           onblur: this._onBlur.bind(this)}), 
	                    this._placeholder(this)
	                )
	            )

	        } else {
	            return (
	                React.createElement("div", {className: "ucs-input-control"}, 
	                    React.createElement("input", {ref: "input", 
	                           maxLength: MaxLength, 
	                           type: "text", 
	                           id: this.props.dmbind, 
	                           value: this.props.value ? this.props.value : '', 
	                           className: this.props.className, 
	                           dmbind: this.props.dmbind, 
	                           placeholder: this.props.placeholder, 
	                           onkeyup: this._onKeyUp.bind(this), 
	                           onfocus: this._onFocus.bind(this), 
	                           onblur: this._onBlur.bind(this)}), 
	                    this._placeholder(this)
	                )
	            )

	        }

	    }
	})
	module.exports = Input;

/***/ },
/* 10 */,
/* 11 */
/***/ function(module, exports, __webpack_require__) {

	/**
	 * Created by Administrator on 2017/3/14.
	 */
	var Button = __webpack_require__(12);
	//查询样式是否存在
	function hasClass(elem, cls) {
	    elem = elem || {};
	    return new RegExp("\\b" + cls + "\\b").test(elem.className);
	}
	//添加样式
	function addClass(elem, cls) {
	    elem = elem || {};
	    hasClass(elem, cls) || (elem.className += " " + cls);
	    elem.className = elem.className.replace(/^\s|\s$/g, "").replace(/\s+/g, " ");
	}
	//删除样式
	function removeClass(elem, cls) {
	    elem = elem || {};
	    if (hasClass(elem, cls)) {
	        elem.className = elem.className.replace(new RegExp("(\\s|^)" + cls + "(\\s|$)"), "");
	    }
	};
	//obj为要绑定事件的元素，ev为要绑定的事件，fn为绑定事件的函数
	function myAddEvent(obj, ev, fn) {
	    if (obj.attachEvent) {
	        obj.attachEvent("on" + ev, fn);
	    }
	    else {
	        obj.addEventListener(ev, fn, false);
	    }
	}
	function myRemoveEvent(obj, ev, fn) {
	    if (obj.attachEvent) {
	        obj.detachEvent("on" + ev, fn);
	    }
	    else {
	        obj.removeEventListener(ev, fn, false);
	    }
	}

	var Layer = React.createClass({displayName: "Layer",
	    getDefaultProps: function () {
	        return {
	            getContainer:'',
	            display: false,
	            type: "",
	            width: "",
	            height: "",
	            className: "",
	            showClose: true,
	            closeBack: "",
	            position: "fixed",
	            confirm: "",
	            confirmBack: "",
	            cancel: "",
	            cancelBack: "",
	            afterBack: "",
	            animation: "layer-anim-1",
	            maskLayer: true,
	            shadeClose: false,
	            move: false,
	            autoClose: 0,
	            id: "",
	            left: "",
	            top: "",
	            contentHeight: "" //内容区域高
	        }
	    },
	    getInitialState: function () {
	      return{
	          display:this.props.display ? 'block':'none'
	      }
	    },
	    componentDidMount: function () {

	        myAddEvent(window, 'resize', this._handleResize.bind(this));
	    },
	    layerOpen: function () {
	        var _this = this;
	        // this.refs.ucslayer.style.display = "block";
	        this.setState({display:'block'});
	        addClass(this.refs.ucslayer,this.props.animation);
	        this._setPosition();
	        //添加遮罩层
	        this.props.maskLayer ? this._maskLayer() : "";
	        //窗口加载完回调
	        this.props.afterBack ? this.props.afterBack() : "";
	        //计算倒计时
	        this.props.autoClose > 0 ? this._handleCountdown() : "";
	    },
	    layerClose: function () {
	        var _this = this;
	        // this.refs.ucslayer.style.display = "none";
	        this.setState({display:'none'});
	        removeClass(_this.refs.ucslayer,_this.props.animation);
	        //移除遮罩层
	        this.getContainer.removeChild(_this.divEL);
	        if (this.props.shadeClose) {
	            myRemoveEvent(_this.divEL, 'click', this._handleMaskLayerClick);
	            //this.divEL.removeEventListener('click', this._handleMaskLayerClick);
	        }
	        // this.props.closeBack ? this.props.closeBack() : "";
	        clearInterval(this.timer);
	    },
	    _handleResize: function () {
	        //console.log("窗口改变");//传个参数进去，浏览器窗口缩放时不修改弹出层的宽高，只调整位置保持居中
	        //确保窗口在显示状态才执行缩放，隐藏下取不到高
	        this.state.display === "block" ? this._setPosition("resize") : "";
	    },
	    _handleCountdown: function () {
	        var _this = this;
	        //倒计时
	        clearInterval(this.timer);
	        var i = this.props.autoClose;
	        this.timer = setInterval(function () {
	            i--;
	            this.refs.autoClose.innerHTML = i;
	            if (i == 0) {
	                this.layerClose();
	                _this._autoCloseBack();
	            }
	        }.bind(this), 1000);
	    },
	    _autoCloseBack:function () {
	        if(this.props.autoCloseBack){
	            this.props.autoCloseBack();
	        }
	    },
	    _maskLayer: function () {
	        if(this.props.getContainer){
	            this.getContainer = document.getElementsByClassName(this.props.getContainer)[0];
	        }else {
	            this.getContainer = document.body;
	        }
	        this.divEL = document.createElement('div');
	        this.divEL.className = "layer-background";
	        this.getContainer.appendChild(this.divEL);
	        this.props.shadeClose ?
	            myAddEvent(this.divEL, 'click', this._handleMaskLayerClick) : "";
	        //this.divEL.addEventListener("click", this._handleMaskLayerClick) : "";
	    },
	    _handleMaskLayerClick: function () {
	        //遮罩层点击
	        this.layerClose();
	    },
	    _setPosition: function (t) {
	        //浏览器窗口宽高兼容写法
	        this.windowWidth = (document.documentElement.scrollWidth > document.documentElement.clientWidth) ? document.documentElement.scrollWidth : document.documentElement.scrollWidth;
	        this.windowHeight = (document.documentElement.scrollHeight > document.documentElement.clientHeight) ? document.documentElement.scrollHeight : document.documentElement.clientHeight;

	        //如果设定了高宽，则使用设定的
	        this.layerWidth = this.props.width ? this.props.width : this.refs.ucslayer.offsetWidth;
	        this.layerHeight = this.props.height ? this.props.height : this.refs.ucslayer.offsetHeight;
	        this.layerHeight = this.layerHeight > this.windowHeight ? this.windowHeight : this.layerHeight;//如果弹层高度大于浏览器窗口高，则使用浏览器窗口高
	        var scrollTop = 0;// 滚动条的高度
	        if (this.props.position == "absolute") {
	            if (document.documentElement && document.documentElement.scrollTop) {
	                scrollTop = document.documentElement.scrollTop;
	            }
	            else if (document.body) {
	                scrollTop = document.body.scrollTop;
	            }
	        }
	        var left = (parseInt(this.windowWidth) - parseInt(this.layerWidth)) / 2;
	        var top = (parseInt(document.body.clientHeight) - parseInt(this.layerHeight)) / 2;
	        if (t !== "resize") {
	            this.refs.ucslayer.style.width = this.layerWidth;
	            this.refs.ucslayer.style.height = this.layerHeight;
	        }
	        this.refs.ucslayer.style.left = left + "px";
	        this.refs.ucslayer.style.top = top < 0 ? 0 : top + "px";
	        if(this.refs.layerHeader){
	            this.refs.layerContent.style.height = parseInt(this.layerHeight) - parseInt(this.refs.layerHeader.offsetHeight);
	        }else{
	            this.refs.layerContent.style.height = parseInt(this.layerHeight);
	        }

	    },
	    _handleCloseClick: function () {
	        //点击关闭时
	        this.props.closeBack ? this.props.closeBack() : this.layerClose();
	    },
	    _handleConfirmClick: function () {
	        //确认按钮点击时
	        this.props.confirmBack ? this.props.confirmBack() : this.layerClose();
	    },
	    _handleCancelClick: function () {
	        //取消按钮点击时
	        this.props.cancelBack ? this.props.cancelBack() : this.layerClose();
	    },
	    _handleMousedown: function (e) {
	        if (this.props.move) {
	            this.mx = e.pageX - parseInt(this.refs.ucslayer.style.left);
	            this.my = e.pageY - parseInt(this.refs.ucslayer.style.top);
	            this.move = true;
	            myAddEvent(document, 'mousemove', this._handleMouseMove.bind(this));
	            myAddEvent(document, 'mouseup', this._handleMouseUp.bind(this));
	        }
	    },
	    _handleMouseMove: function (e) {
	        if (this.move) {
	            e = event || window.event;
	            var x = e.clientX - parseInt(this.mx);
	            var y = e.clientY - parseInt(this.my);

	            var documentHeight = document.documentElement.clientHeight;
	            if (x <= 0) {
	                x = 0
	            } else if (x > parseInt(this.windowWidth) - parseInt(this.layerWidth)) {
	                //window窗口宽－弹层宽
	                x = parseInt(this.windowWidth) - parseInt(this.layerWidth)
	            }
	            if (y <= 0) {
	                y = 0
	            } else if (y > documentHeight - parseInt(this.layerHeight)) {
	                y = documentHeight - parseInt(this.layerHeight)
	            }
	            this.refs.ucslayer.style.left = x + "px";
	            this.refs.ucslayer.style.top = y + "px";
	            return false;
	        }
	    },
	    _handleMouseUp: function () {
	        this.move = false;
	        myRemoveEvent(document, 'mousemove', this._handleMouseMove.bind(this));
	        myRemoveEvent(document, 'mouseup', this._handleMouseUp.bind(this));

	    },
	    render:function(){
	        window._tmpid1 = window._tmpid1||1;
	        var props = this.props;
	        var style = "width:" + props.width + ";" + "height:" + props.height + ";"+ "display:"+this.state.display + ";"+ "position:"+ props.position+";";
	        var bodyClass = "ucs-layer-body "+(props.type?"ucs-layer-text":"");
	        var bodyContent = "";
	        if (props.type === "text") {
	            //纯文字
	            bodyContent = (React.createElement("div", {className: "ucs-layer-txt"}, props.children));
	        } else if (props.type === "success") {
	            //成功时
	            bodyContent = (
	                React.createElement("div", {className: "ucs-layer-success"}, 
	                    React.createElement("i", {className: "iconfont icon-success icon"}), 
	                    props.children
	                )
	            )
	        }
	        else if (props.type === "failure") {
	            //失败时
	            bodyContent = (
	                React.createElement("div", {className: "ucs-layer-failure"}, 
	                    React.createElement("i", {className: "iconfont icon-failure icon"}), 
	                    props.children
	                )
	            )
	        } else {
	            //其它
	            bodyContent = props.children
	        }
	        var close = (
	                props.showClose ? React.createElement("a", {href: "javascript:;", className: "ucs-layer-close iconfont icon-close", onClick: this._handleCloseClick.bind(this)}) : ""
	            )
	            ;
	        var button = "";
	        if (props.confirm || props.cancel) {
	            button = (
	                React.createElement("div", {className: "ucs-layer-footer"}, 
	                    props.confirm ? React.createElement(Button, {className: "ucs-btn-confirm", onClick: this._handleConfirmClick.bind(this), buttonType: "confirm", value: props.confirm}) : "", 
	                    props.cancel ? React.createElement(Button, {className: "ucs-btn-cancel", onClick: this._handleCancelClick.bind(this), buttonType: "cancel", value: props.cancel}) : ""
	                )
	            );
	        }
	        var autoClose = (
	            this.props.autoClose > 0 ? React.createElement("div", {className: "ucs-autoclose"}, React.createElement("span", {ref: "autoClose"}, this.props.autoClose), "秒后自动关闭!") : ""
	        );
	        var moveStyle = {cursor:(this.props.move ? "move;" : ";")};
	        window._tmpid1++;
	        return (
	            React.createElement("div", {id: window._tmpid1, className: "ucs-layer "+props.className+" "+props.animation, style: {display:this.state.display}, ref: "ucslayer"}, 
	                close, 
	                props.title ? React.createElement("div", {className: "ucs-layer-header", onmousedown: this._handleMousedown.bind(this), ref: "layerHeader", style: moveStyle}, props.title) : "", 
	                autoClose, 
	                React.createElement("div", {className: "ucs-layer-content", ref: "layerContent", style: {height:props.contentHeight}}, 
	                    React.createElement("div", {className: bodyClass}, bodyContent), 
	                    button
	                )
	            )
	        )
	    }
	});

	module.exports = Layer;

/***/ },
/* 12 */
/***/ function(module, exports) {

	var Button = React.createClass({displayName: "Button",
		getInitialState:function () {
			return{
				disabled:this.props.disabled || false
			}
	    },
		getDefaultProps:function(){
			return{
				// disabled:false
			}
		},
		_handler:function(){
			var _this = this;
	        this.props.onClick();
		},
		render: function() {
			var _this = this;
			if(this.props.dmbind){
	            GiraffObjectManager[this.props.dmbind].setDisabled = function(bool){
	                if(bool){
	                    _this.setState({
	                        disabled:true
	                    })
	                }else{
	                    _this.setState({
	                        disabled:false
	                    })
	                }
	            };
			}

	        var customClassName = this.props.className ? 'ucs-btn '+this.props.className : 'ucs-btn';
	        customClassName = this.state.disabled ? customClassName + " ucs-btn-disabled" : customClassName;
			var id = this.props.id?this.props.id:'';
			if(this.props.href){
				return React.createElement("a", {id: id, onClick: this.props.onClick, className: customClassName, href: this.props.href}, this.props.value)
			}else{
				return React.createElement("button", {id: id, disabled: this.state.disabled, onClick: this._handler.bind(this), onMouseDown: this.props.onMouseDown, className: customClassName}, this.props.value)
			}
		}
	})
	module.exports = Button;

/***/ },
/* 13 */,
/* 14 */,
/* 15 */,
/* 16 */,
/* 17 */
/***/ function(module, exports) {

	/**
	 * Created by DuHuiling on 2017/2/20.
	 */
	var HyperLink = React.createClass({displayName: "HyperLink",
	    getDefaultProps:function(){
	        return {
	            "id":"",
	            "className":"",
	            "href":"javascript:void(0)",
	            "text":""
	        }
	    },
	    render:function(){
	        return (
	            React.createElement("a", {id: this.props.id, className: "ucs-hyper-link "+this.props.className, href: this.props.href, onClick: this.props.onClick}, this.props.text)
	        )
	    }
	});

	module.exports = HyperLink;

/***/ },
/* 18 */,
/* 19 */,
/* 20 */,
/* 21 */,
/* 22 */,
/* 23 */
/***/ function(module, exports) {

	/**
	 * Created by DuHuiling on 2017/4/21.
	 */

	var Steps = React.createClass({displayName: "Steps",
	    getInitialState:function(){
	        return{
	            data:this.props.data
	        }
	    },
	    render:function(){
	        var list = this.state.data;
	        return(
	            React.createElement("ul", null, 
	                list.length > 0 ?
	                    list.map(function(item,index){
	                        return (
	                            React.createElement("li", null, 
	                                React.createElement("a", {href: item.Address?item.Address:"javascript:void(0)", target: item.Address?"_blank":"_self", style: item.Address?{cursor:'pointer'}:{cursor:'text'}, className: "bg bg"+(index+1)}), 
	                                React.createElement("a", {href: item.Address?item.Address:"javascript:void(0)", target: item.Address?"_blank":"_self", style: item.Address?{cursor:'pointer'}:{cursor:'text'}}, item.Title), 
	                                item.Description, 
	                                index < list.length - 1 ?
	                                    React.createElement("i", null) : ""
	                                
	                            )
	                        )
	                    }) : ""
	                
	            )
	        )
	    }
	});
	module.exports = Steps;

/***/ },
/* 24 */,
/* 25 */
/***/ function(module, exports) {

	var Input = React.createClass({displayName: "Input",
	    getDefaultProps: function () {
	        return {
	            className: 'ucs-input',
	            dmbind: '',
	            placeholder: "",
	            onFocus: function () {
	            },
	            onBlur: function () {
	            }
	        };
	    },
	    componentDidMount: function () {
	    },
	    _onKeyUp:function (e) {
	          this.props.onKeyUp && this.props.onKeyUp(e);
	    },
	    _onFocus: function (e) {
	        var _nodeInput = e.target || e.srcElement,
	            _nodeSpan = _nodeInput.nextSibling;
	        if (_nodeSpan.className == "ucs-placeholder") {
	            _nodeSpan.className = "ucs-placeholder hide";
	        }
	        this.props.onFocus && this.props.onFocus();
	    },
	    _handle: function (e) {
	        var _nodeSpan = e.target || e.srcElement,
	            _node = _nodeSpan.parentNode,
	            _nodeInput = _node.firstChild;
	        if (_nodeSpan.className == "ucs-placeholder") {
	            _nodeSpan.className = "ucs-placeholder hide";
	        }
	        _nodeInput.focus();
	    },
	    _placeholder: function (_this) {
	        if (!('placeholder' in document.createElement('input'))) {
	            return (
	                React.createElement("span", {className: "ucs-placeholder", onClick: _this._handle}, _this.props.value ? _this.props.value : _this.props.placeholder)
	            );
	        } else {
	            return "";
	        }
	    },
	    _onBlur: function (e) {
	        if (!('placeholder' in document.createElement('input'))) {
	            var _nodeInput = e.target || e.srcElement,
	                _node = _nodeInput.parentNode,
	                _nodeSpan = _node.lastChild;
	            if (!_nodeInput.value) {
	                _nodeSpan.className = "ucs-placeholder";
	                _nodeSpan.innerHTML = this.props.placeholder;
	            }
	        }
	        this.props.onBlur && this.props.onBlur();
	    },
	    focus:function () {
	        this.refs.input.focus();

	    },
	    checkPlaceHolder:function () {
	        if (!('placeholder' in document.createElement('input'))) {
	            var _nodeInput = this.refs.input,
	                _node = _nodeInput.parentNode,
	                _nodeSpan = _node.lastChild;
	            if (!_nodeInput.value) {
	                _nodeSpan.className = "ucs-placeholder";
	                _nodeSpan.innerHTML = this.props.placeholder;
	            }
	        }
	    },
	    render: function () {
	        var that = this;
	        var GiraffeObjectManager = window.GiraffObjectManager;
	        if(this.props.dmbind){
	            var MaxLength = GiraffeObjectManager[this.props.dmbind].maxLength;
	            GiraffeObjectManager[this.props.dmbind].focus = function () {
	                document.getElementById(that.props.dmbind).focus();  //todo:这是一个比较麻烦的问题，后续再优化，暂时先这样把
	            }
	        }
	        if (MaxLength == undefined) {
	            return (
	                React.createElement("div", {className: "ucs-input-control"}, 
	                    React.createElement("input", {ref: "input", 
	                           type: "text", 
	                           id: this.props.dmbind, 
	                           value: this.props.value ? this.props.value : '', 
	                           className: this.props.className, 
	                           dmbind: this.props.dmbind, 
	                           placeholder: this.props.placeholder, 
	                           onkeyup: this._onKeyUp.bind(this), 
	                           onfocus: this._onFocus.bind(this), 
	                           onblur: this._onBlur.bind(this)}), 
	                    this._placeholder(this)
	                )
	            )

	        } else {
	            return (
	                React.createElement("div", {className: "ucs-input-control"}, 
	                    React.createElement("input", {ref: "input", 
	                           maxLength: MaxLength, 
	                           type: "text", 
	                           id: this.props.dmbind, 
	                           value: this.props.value ? this.props.value : '', 
	                           className: this.props.className, 
	                           dmbind: this.props.dmbind, 
	                           placeholder: this.props.placeholder, 
	                           onkeyup: this._onKeyUp.bind(this), 
	                           onfocus: this._onFocus.bind(this), 
	                           onblur: this._onBlur.bind(this)}), 
	                    this._placeholder(this)
	                )
	            )

	        }

	    }
	})
	module.exports = Input;

/***/ },
/* 26 */,
/* 27 */,
/* 28 */,
/* 29 */,
/* 30 */,
/* 31 */,
/* 32 */,
/* 33 */,
/* 34 */,
/* 35 */,
/* 36 */,
/* 37 */,
/* 38 */,
/* 39 */,
/* 40 */,
/* 41 */,
/* 42 */,
/* 43 */,
/* 44 */,
/* 45 */,
/* 46 */,
/* 47 */,
/* 48 */,
/* 49 */,
/* 50 */,
/* 51 */
/***/ function(module, exports) {

	/**
	 * Created by Administrator on 2017/3/17.
	 */
	//查询样式是否存在
	function hasClass(elem, cls) {
	    elem = elem || {};
	    return new RegExp("\\b" + cls + "\\b").test(elem.className);
	};
	//添加样式
	function addClass(elem, cls) {
	    elem = elem || {};
	    hasClass(elem, cls) || (elem.className += " " + cls);
	    elem.className = elem.className.replace(/^\s|\s$/g, "").replace(/\s+/g, " ");
	    return this;
	};
	//删除样式
	function removeClass(elem, cls) {
	    elem = elem || {};
	    if (hasClass(elem, cls)) {
	        elem.className = elem.className.replace(new RegExp("(\\s|^)" + cls + "(\\s|$)"), "");
	    }
	    return this;
	};
	var Slider = React.createClass({displayName: "Slider",
	    getDefaultProps:function(){
	        return{
	            config: {
	                dots: true,
	                arrows: true,
	                autoPlay: true,
	                autoPlaySpeed: 2000
	            }
	        }
	    },
	    componentDidMount: function(){
	        this.count = 0;
	        if(this.props.config.autoPlay&&this.props.children.length>1){
	            this.slideHandler();
	        }
	        /*if (window.addEventListener) {
	            window.addEventListener('blur', this.onWindowBlur.bind(this));
	            window.addEventListener('focus', this.onWindowFocus.bind(this));
	        } else {
	            window.attachEvent('blur', this.onWindowBlur.bind(this));
	            window.attachEvent('focus', this.onWindowFocus.bind(this));
	        }*/
	        //EventListener.addEventHandler(window,'onblur',this.onWindowBlur.bind(this));
	        //EventListener.addEventHandler(window,'onfocus',this.onWindowFocus.bind(this));
	    },
	    slideHandler: function(){
	        var _this = this;
	        var items = _this.refs['ucs-slider-list'].childNodes;
	        var dots;
	        if(_this.props.config.dots){
	            dots = _this.refs['dots'].childNodes;
	        }
	        //_this.timer = null;
	        if(_this.timer){
	            clearInterval(_this.timer);
	            _this.timer = null;
	        }
	        _this.timer = setInterval(function(){
	            for(var i = 0; i < items.length; i ++){
	                removeClass(items[i],"active-item");
	                if(_this.props.config.dots){
	                    removeClass(dots[i],"current");
	                }
	                items[i].style.opacity = 0;
	            }
	            if(_this.count == items.length-1){
	                _this.count = 0;
	            }else{
	                _this.count++;
	            }
	            addClass(items[_this.count],"active-item");
	            if(_this.props.config.dots){
	                addClass(dots[_this.count],"current");
	            }
	            _this.fadeInHandler();
	        },_this.props.config.autoPlaySpeed);
	    },
	    onWindowFocus: function(){
	        if(this.props.config.autoPlay&&this.props.children.length>1){
	            this.slideHandler();
	        }
	    },
	    onWindowBlur: function(){
	        if(this.timer){
	            clearInterval(this.timer);
	            this.timer = null;
	        }
	    },
	    mouseOverHandler: function(){
	        if(this.timer){
	            clearInterval(this.timer);
	            this.timer = null;
	        }
	    },
	    mouseOutHandler: function(){
	        if(this.props.config.autoPlay&&this.props.children.length>1){
	            this.slideHandler();
	        }
	    },
	    dotClickHandler: function(e){
	        var _this = this;

	        var items = _this.refs['ucs-slider-list'].childNodes;
	        var dots = _this.refs['dots'].childNodes;
	        for(var i = 0; i < items.length; i ++){
	            removeClass(items[i],"active-item");
	            removeClass(dots[i],"current");
	        }
	        _this.count = e.srcElement?e.srcElement.parentNode.getAttribute('index'):e.target.parentNode.getAttribute('index');
	        addClass(items[_this.count],"active-item");
	        addClass(dots[_this.count],"current");
	        items[_this.count].style.opacity = 1;
	        //_this.fadeInHandler();
	    },
	    prevHandler: function(){
	        var _this = this;

	        var items = _this.refs['ucs-slider-list'].childNodes;
	        var dots;
	        if(_this.props.config.dots){
	            dots = _this.refs['dots'].childNodes;
	        }
	        for(var i = 0; i < items.length; i ++){
	            removeClass(items[i],"active-item");
	            if(_this.props.config.dots){
	                removeClass(dots[i],"current");
	            }
	        }
	        if(_this.count == 0){
	            _this.count = items.length-1;
	        }else{
	            _this.count--;
	        }
	        addClass(items[_this.count],"active-item");
	        if(_this.props.config.dots){
	            addClass(dots[_this.count],"current");
	        }
	        if(_this.props.config.dots){
	            removeClass(dots[i],"current");
	        }
	        items[_this.count].style.opacity = 1;
	        //_this.fadeInHandler();
	    },
	    nextHandler: function(){
	        var _this = this;

	        var items = _this.refs['ucs-slider-list'].childNodes;
	        var dots;
	        if(_this.props.config.dots){
	            dots = _this.refs['dots'].childNodes;
	        }
	        for(var i = 0; i < items.length; i ++){
	            removeClass(items[i],"active-item");
	            if(_this.props.config.dots){
	                removeClass(dots[i],"current");
	            }
	        }
	        if(_this.count == items.length-1){
	            _this.count = 0;
	        }else{
	            _this.count++;
	        }
	        addClass(items[_this.count],"active-item");
	        if(_this.props.config.dots){
	            addClass(dots[_this.count],"current");
	        }
	        items[_this.count].style.opacity = 1;
	        //_this.fadeInHandler();
	    },
	    fadeInHandler: function(){
	        var _this = this;
	        var items = _this.refs['ucs-slider-list'].childNodes;
	        var opt = 0;
	        var tm = null;
	        tm = setInterval(function(){
	            if(opt>1){
	                clearInterval(tm);
	            }else{
	                opt += 0.1;
	            }
	            items[_this.count].style.opacity = opt;
	        },50);
	    },
	    render:function(){
	        var _this = this;
	        var childLength = _this.props.children.length;
	        return(
	            React.createElement("div", {className: "ucs-slider", onmouseover: _this.mouseOverHandler.bind(_this), onmouseout: _this.mouseOutHandler.bind(_this)}, 
	                React.createElement("div", {className: "ucs-slider-list", ref: "ucs-slider-list"}, 
	                    _this.props.children
	                ), 
	                
	                    (_this.props.config.dots&&childLength>1)?(
	                        React.createElement("div", {className: "dots"}, 
	                            React.createElement("ul", {ref: "dots"}, 
	                                
	                                    _this.props.children.map(function(item,index){
	                                        if(index == 0){
	                                            return (React.createElement("li", {index: index, className: "current"}, React.createElement("a", {href: "javascript:void(0)", onClick: _this.dotClickHandler.bind(_this)})));
	                                        }else{
	                                            return (React.createElement("li", {index: index}, React.createElement("a", {href: "javascript:void(0)", onClick: _this.dotClickHandler.bind(_this)})));
	                                        }
	                                    })
	                                
	                            )
	                        )
	                    ):"", 
	                
	                
	                    (_this.props.config.arrows&&childLength>1)?(
	                        React.createElement("div", {className: "arrows"}, 
	                            React.createElement("a", {href: "javascript:void(0)", className: "prev", onClick: _this.prevHandler.bind(_this)}), 
	                            React.createElement("a", {href: "javascript:void(0)", className: "next", onClick: _this.nextHandler.bind(_this)})
	                        )
	                    ):""
	                
	            )
	        )
	    }
	});

	module.exports = Slider;

/***/ },
/* 52 */
/***/ function(module, exports) {

	/**
	 * Created by Administrator on 2017/3/17.
	 */

	var Advisory = React.createClass({displayName: "Advisory",
	    _show:function(){
	        var _show = this.refs.show,
	            _close = this.refs.close,
	            _wrap = this.refs.advisory;
	        _show.style.display = "none";
	        _close.style.display = "block";
	        _wrap.style.right = "0";
	    },
	    _close:function(){
	        var _show = this.refs.show,
	            _close = this.refs.close,
	            _wrap = this.refs.advisory;
	        _show.style.display = "block";
	        _close.style.display = "none";
	        _wrap.style.right = "-80px";
	    },
	    render:function(){
	        return(
	            React.createElement("div", {ref: "advisory", className: "ucs-advisory"}, 
	                React.createElement("a", {className: "ucs-close_kf iconfont icon-arrow-right", ref: "close", href: "javascript:void(0)", onClick: this._close.bind(this)}), 
	                React.createElement("a", {className: "ucs-show_kf iconfont icon-arrow-left", ref: "show", href: "javascript:void(0)", onClick: this._show.bind(this)}), 
	                React.createElement("div", {className: "ucs-ui-tools"}, 
	                    this.props.children
	                )
	            )
	        )
	    }
	});
	module.exports = Advisory;

/***/ },
/* 53 */
/***/ function(module, exports, __webpack_require__) {

	/**
	 * Created by Administrator on 2017/3/17.
	 */
	var Layer = __webpack_require__(11);
	var Input = __webpack_require__(25);
	var investDM = new UDM({
	    value:''
	})

	var interestDM = new UDM({
	    value:''
	})

	var durationDM = new UDM({
	    value:''
	})
	 var PageDM = {
	    invest:investDM,
	     interest:interestDM,
	     duration:durationDM
	 }
	var Calculator = React.createClass({displayName: "Calculator",
	    getDefaultProps:function(){
	        return{
	            days:this.props.days
	        }
	    },
	    getInitialState:function () {
	        return{
	            invest:PageDM.invest.value,
	            interest:PageDM.interest.value,
	            duration:PageDM.duration.value
	        }
	    },
	    /*计算器验证输入,检查是不是数字及两数位数*/
	    chcknullnum: function(a) {
	        if (!isNaN(a) && a != "") {
	            return a;
	        } else {
	            return false;
	        }
	    },
	    chckisnum:function(a) {
	        if (a.indexOf(".") > -1) {
	            //如果有小数点
	            var b = a.split('.')[1].length;
	            if (b > 2) {
	                a = false;
	            }
	        }
	        return a;
	    },
	    showCalculator: function(){
	        var div = document.createElement("div");
	        div.id = "grey-background";
	        document.body.appendChild(div);
	        this.refs['calculator-layer'].style.display = "block";
	    },
	    hideCalculator: function(){
	        this.refs['calculator-layer'].style.display = "none";
	        document.body.removeChild(document.getElementById("grey-background"));
	    },
	    investSumHandler: function(e){
	        var v = e.target || e.srcElement;
	        // var val = PageDM.invest.getValue();
	        PageDM.invest.setValue(v.value.replace(/[^\d.]/g,''));
	    },
	    interestHandler: function(e){
	        var v = e.target || e.srcElement;
	        // var val = PageDM.interest.getValue();
	        PageDM.interest.setValue(v.value.replace(/[^\d.]/g,''));
	    },
	    durationHandler: function(e){
	        var v = e.target || e.srcElement;
	        // var val = PageDM.duration.getValue();
	        PageDM.duration.setValue(v.value.replace(/\D/g,''));
	    },
	    calculateHandler: function(){
	        var _this = this;
	        var a = PageDM.invest.getValue(); //投资金额
	        if (!_this.chcknullnum(a)) {
	            alert("投资金额不能为空且只能是数字");
	            _this.refs['invest-sum'].focus();
	            return;
	        }
	        if (!_this.chckisnum(a)) {
	            alert("投资金额最多只能是两位数字！");
	            _this.refs['invest-sum'].focus();
	            return;
	        }
	        var b = PageDM.interest.getValue(); //预期年化利率
	        if (!_this.chcknullnum(b)) {
	            alert("预期年化利率不能为空且只能是数字！");
	            _this.refs['interest'].focus();
	            return;
	        }
	        if (!_this.chckisnum(b)) {
	            alert("预期年化利率最多只能是两位数字！");
	            _this.refs['interest'].focus();
	            return;
	        }
	        var c = PageDM.duration.getValue(); //预期年化利率
	        if (!_this.chcknullnum(c)) {
	            alert("投资期限不能为空且只能是数字！");
	            _this.refs['duration'].focus();
	            return;
	        }
	        var rm = UMath.Earnings(a * 10000,b,c,_this.props.days);
	        _this.refs['return-money'].innerHTML = UFormatter.formatMoney(rm,2);
	        _this.refs['computer-allmoney'].innerHTML = UFormatter.formatMoney((rm + a * 10000),2);
	    },
	    resetHandler: function(){
	        var _this = this;
	        PageDM.invest.setValue('');
	        PageDM.interest.setValue('');
	        PageDM.duration.setValue('');
	       _this.refs['invest-sum'].checkPlaceHolder();
	       _this.refs['interest'].checkPlaceHolder();
	       _this.refs['duration'].checkPlaceHolder();
	        _this.refs['return-money'].innerHTML = "";
	        _this.refs['computer-allmoney'].innerHTML = "";
	    },
	    layerOpen:function(){
	        this.refs.calculatorLayer.layerOpen();
	    },
	    layerClose:function(){
	        this.resetHandler();
	        this.refs.calculatorLayer.layerClose();
	    },
	    render: function(){
	        var _this = this;
	        var _title = React.createElement("div", {className: "ucs-alert-title"}, React.createElement("b", null), React.createElement("span", null, "收益计算器"), React.createElement("b", null));
	        return (
	            React.createElement("div", {className: "ucs-calculator"}, 
	                React.createElement(Layer, {ref: "calculatorLayer", closeBack: _this.layerClose.bind(_this), title: _title}, 
	                    React.createElement("div", {className: "alert-content"}, 
	                        React.createElement("div", {className: "alert-load"}, 
	                            React.createElement("div", {className: "layer-computer"}, 
	                                React.createElement("div", {className: "form-group"}, 
	                                    React.createElement("label", null, "投资金额："), 
	                                    React.createElement("div", {className: "input"}, React.createElement(Input, {dmbind: PageDM.invest.dmbind, type: "text", ref: "invest-sum", className: "input-control computer-money", maxlength: "9", onKeyUp: _this.investSumHandler.bind(this), placeholder: "请输入投资金额"})), 
	                                    React.createElement("span", {className: "unit"}, "万元")
	                                ), 
	                                React.createElement("div", {className: "form-group"}, 
	                                    React.createElement("label", null, "预期年化利率："), 
	                                    React.createElement("div", {className: "input"}, React.createElement(Input, {dmbind: PageDM.interest.dmbind, type: "text", ref: "interest", className: "input-control computer-bf", maxlength: "4", onKeyUp: _this.interestHandler, placeholder: "请输入预期年化利率"})), 
	                                    React.createElement("span", {className: "unit"}, "%")
	                                ), 
	                                React.createElement("div", {className: "form-group"}, 
	                                    React.createElement("label", null, "投资期限："), 
	                                    React.createElement("div", {className: "input"}, React.createElement(Input, {dmbind: PageDM.duration.dmbind, type: "text", ref: "duration", className: "input-control computer-data", maxlength: "4", onKeyUp: _this.durationHandler, onafterpaste: "this.value=this.value.replace(/\\D/g,'')", placeholder: "请输入投资期限"})), 
	                                    React.createElement("span", {className: "unit"}, "天")
	                                ), 
	                                React.createElement("div", {className: "content"}, 
	                                    React.createElement("p", null, React.createElement("span", {className: "title"}, "预期收益："), React.createElement("span", {className: "return-money fcred", ref: "return-money"}), " 元"), 
	                                    React.createElement("p", null, React.createElement("span", {className: "title"}, "预期本息合计："), React.createElement("span", {className: "computer-allmoney fcred", ref: "computer-allmoney"}), " 元")
	                                ), 
	                                React.createElement("div", {className: "alert-button"}, 
	                                    React.createElement("input", {type: "button", className: "btn btn-confirm computer-button", value: "计算", onClick: _this.calculateHandler.bind(_this)}), 
	                                    React.createElement("input", {type: "reset", value: "重置", className: "btn btn-cancel computer-reset", onClick: _this.resetHandler.bind(_this)})
	                                )
	                            )
	                        )
	                    )
	                )
	            )

	        )
	    }
	});
	module.exports = Calculator;

/***/ },
/* 54 */
/***/ function(module, exports) {

	/**
	 * Created by DuHuiling on 2017/2/23.
	 */

	var Textarea = React.createClass({displayName: "Textarea",
	    config:{
	        id:"",
	        value:"",
	        className:"",
	        rows:5,
	        cols:20,
	        placeholder:"这是文本域",
	        onFocus: function () {
	        },
	        onBlur: function () {
	        }
	    },
	    onChange:function(){
	        if(this.props.onChange){
	            this.props.onChange();
	        }
	    },
	    _onFocus: function (e) {
	        var _nodeInput = e.target || e.srcElement,
	            _nodeSpan = _nodeInput.nextSibling;
	        if (_nodeSpan.className == "ucs-placeholder") {
	            _nodeSpan.className = "ucs-placeholder hide";
	        }
	        this.props.onFocus && this.props.onFocus();
	    },
	    _handle: function (e) {
	        var _nodeSpan = e.target || e.srcElement,
	            _node = _nodeSpan.parentNode,
	            _nodeInput = _node.firstChild;
	        if (_nodeSpan.className == "ucs-placeholder") {
	            _nodeSpan.className = "ucs-placeholder hide";
	        }
	        _nodeInput.focus();
	    },
	    _placeholder: function (_this) {
	        if (!('placeholder' in document.createElement('input'))) {
	            return (
	                React.createElement("span", {className: "ucs-placeholder", onClick: _this._handle}, _this.props.value ? _this.props.value : _this.props.placeholder)
	            );
	        } else {
	            return "";
	        }
	    },
	    _onBlur: function (e) {
	        if (!('placeholder' in document.createElement('input'))) {
	            var _nodeInput = e.target || e.srcElement,
	                _node = _nodeInput.parentNode,
	                _nodeSpan = _node.lastChild;
	            if (!_nodeInput.value) {
	                _nodeSpan.className = "ucs-placeholder";
	                _nodeSpan.innerHTML = this.props.placeholder;
	            }
	        }
	        this.props.onBlur && this.props.onBlur();
	    },
	    render:function(){
	        for(var key in this.props){
	            this.config[key] = this.props[key];
	        }
	        return(
	            React.createElement("div", {className: "ucs-textarea-control"}, 
	                React.createElement("textarea", {
	                    id: this.config.id, 
	                    className: "ucs-textarea " + this.config.className, 
	                    rows: this.config.rows, 
	                    cols: this.config.cols, 
	                    onchange: this.onChange.bind(this), 
	                    placeholder: this.config.placeholder, 
	                    onfocus: this._onFocus.bind(this), 
	                    onblur: this._onBlur.bind(this)
	                }, 
	                    this.config.value
	                ), 
	                this._placeholder(this)
	            )
	        )
	    }
	});
	module.exports = Textarea;

/***/ },
/* 55 */
/***/ function(module, exports) {

	/**
	 * Created by DuHuiling on 2017/4/27.
	 */

	/**
	 * 回到顶部组件
	 *
	 * @param  [visibilityHeight] 自定义滚动高度，默认400
	 *
	 * @param [right] 距离右边的大小，默认20px
	 *
	 * @param [onClick]  点击事件，默认为空，自定义点击后执行的事件
	 *
	 *
	 * @author chenzefang
	 *
	 * 示例：
	 *
	 *     @example
	 *     <Backtop visibilityHeight='100' right='100' />
	 */
	var Backtop = React.createClass({displayName: "Backtop",   // 自定义宽高50
	    getDefaultProps: function(){
	        return {
	            id: '',
	            visibilityHeight: '400', //可配置滚动多高才出现，默认400
	            right: '20'
	        }
	    },
	    getInitialState: function(){
	        return {
	            right:'-120px',
	            className: this.props.className?'ucs-backtop '+this.props.className : 'ucs-backtop'
	        }
	    },
	    onClick: function(){
	        // var scrollTop = document.documentElement.scrollTop || window.pageYOffset || document.body.scrollTop;
	        document.documentElement.scrollTop = 0;
	        document.body.scrollTop = 0;
	        this.setState({right:'-120px'});
	        this.props.onClick? this.props.onClick():null;
	    },
	    componentDidMount: function(){
	        EventListener.addEventHandler(window,'onscroll',function(){
	            var t = document.documentElement.scrollTop || document.body.scrollTop;
	            if(t > this.props.visibilityHeight){
	                this.setState({right:this.props.right+'px'});
	            }else{
	                this.setState({right:'-120px'});
	            }
	        }.bind(this))
	    },
	    render:function(){
	        return(
	            React.createElement("div", React.__spread({ref: "backtop"},  this.props, {style: {right:this.state.right}, className: this.state.className, onClick: this.onClick}), this.props.children)
	        )
	    }
	})
	module.exports = Backtop;





/***/ },
/* 56 */
/***/ function(module, exports, __webpack_require__) {

	/**
	 * Created by DuHuiling on 2017/4/20.
	 */
	var RingProgress = __webpack_require__(57);
	var HyperLink = __webpack_require__(17);
	var Carousel = __webpack_require__(58);
	var Tooltip = __webpack_require__(2);

	var HotItem = React.createClass({displayName: "HotItem",
	    getInitialState:function(){
	        return {
	            data:this.props.data
	        }
	    },
	    render:function(){
	        var list = this.state.data.list;

	        return(
	            React.createElement("div", {className: "index-project"}, 
	                React.createElement("div", {className: "wrap"}, 
	                    React.createElement("h2", {className: "index-title"}, React.createElement("b", null), "推荐项目", React.createElement("b", null)), 
	                    list.length > 0?
	                        React.createElement(Carousel, {data: list}, 
	                            
	                                list.map(function(item,index){
	                                    /*按钮样式与文案*/
	                                    var status = item.VFinancingStatus, statusType = {};
	                                    switch (status){
	                                        case 1:
	                                            statusType.className = "ucs-btn-confirm";
	                                            statusType.text = "立即投资";
	                                            break;
	                                        case 2:
	                                            statusType.className = "ucs-btn-wait";
	                                            statusType.text = "预热中";
	                                            break;
	                                        case 3:
	                                            statusType.className = "ucs-btn-full";
	                                            statusType.text = "已满标";
	                                            break;
	                                        case 4:
	                                            statusType.className = "ucs-btn-full";
	                                            statusType.text = "计息中";
	                                            break;
	                                        case 5:
	                                            statusType.className = "ucs-btn-full";
	                                            statusType.text = "还款中";
	                                            break;
	                                        case 6:
	                                            statusType.className = "ucs-btn-full";
	                                            statusType.text = "已还款";
	                                            break;
	                                    }

	                                    /*项目规模*/
	                                    var total_amount = Number(item.TotalAmount.value);
	                                    if(total_amount < 10000){
	                                        total_amount = UFormatter.formatMoney(total_amount,2) + '元';
	                                    }else{
	                                        total_amount = UFormatter.formatMoney(total_amount/10000,2) + '万元';
	                                    }

	                                    /*活动标志*/
	                                    var Aflag_Icon = item.Aflag_Icon.value;
	                                    var arr_aflag, resetAflag = [];
	                                    if(Aflag_Icon){
	                                        arr_aflag = Aflag_Icon.split(',');
	                                        for(var i = 0;i < arr_aflag.length;i++){
	                                            resetAflag.push(arr_aflag[i].split('|'));
	                                        }
	                                    }
	                                    return (
	                                        React.createElement("li", null, 
	                                            React.createElement("h4", null, 
	                                                item.ProjectName.value?item.ProjectName.value:"", 
	                                                item.IsExclusive.value?
	                                                    (item.IsExclusivePublic.value?
	                                                        React.createElement(Tooltip, {className: "bg-icon tag tag-zhuang", title: "专属项目，需输入项目专属识别码才可投标"}) :
	                                                        React.createElement("span", {className: "bg-icon tag tag-zhuang"}))
	                                                    :"", 
	                                                
	                                                resetAflag ?
	                                                    resetAflag.map(function(v,j){
	                                                        var _src = "../content/images/ActImage/"+v[0];
	                                                        if(v[1]){
	                                                            return React.createElement(Tooltip, {title: v[1], className: "tag"}, React.createElement("img", {src: _src}))
	                                                        }else{
	                                                            return React.createElement("span", {href: "javascript:void(0)", className: "tag"}, React.createElement("img", {src: _src}))
	                                                        }
	                                                    }) : ""
	                                                
	                                            ), 
	                                            React.createElement("div", {className: "ring-box"}, 
	                                                React.createElement(RingProgress, {border: "12", radius: 100, value: item.Progress.value, color: ["#ddd","#ec5e3d","#ec5e3d"]}), 
	                                                React.createElement("div", {className: "rate"}, 
	                                                    React.createElement("p", {className: "num"}, item.Interest?item.Interest.value:"--", React.createElement("b", null, "%")), 
	                                                    React.createElement("p", null, "预期年化收益率")
	                                                )
	                                            ), 
	                                            React.createElement("div", {className: "cell-box"}, 
	                                                React.createElement("div", {className: "f-left"}, 
	                                                    React.createElement("span", null, total_amount), 
	                                                    React.createElement("p", null, "项目规模")
	                                                ), 
	                                                React.createElement("div", {className: "f-right"}, 
	                                                    React.createElement("span", null, item.Duration?item.Duration.value:"--", "天"), 
	                                                    React.createElement("p", null, "投资期限")
	                                                )
	                                            ), 
	                                            React.createElement(HyperLink, {href: item.LinkUrl, className: "ucs-btn "+statusType.className, text: statusType.text})
	                                        )
	                                    )
	                                })
	                            
	                        ) :
	                        React.createElement("div", null, React.createElement("img", {src: "../content/images/nodata.png", alt: "暂无项目"})), 
	                    
	                    list.length >= 6 ?
	                        React.createElement(HyperLink, {href: this.props.data.moreUrl, text: React.createElement("span", null, React.createElement("i", {className: "iconfont icon-arrow"}), "查看更多项目"), className: "more-item"}):""
	                    
	                )
	            )
	        )
	    }
	});
	module.exports = HotItem;

/***/ },
/* 57 */
/***/ function(module, exports) {

	/**
	 * Created by Administrator on 2017/3/20.
	 */
	var RingProgress = React.createClass({displayName: "RingProgress",
	    getDefaultProps: function () {
	        return {
	            radius: 100, //半径
	            border: 10, //边框
	            color: ["#ccc", "#000", "#f00"], //颜色，背影色，过渡色，最终色
	            speed: 1000,//速度
	            value: 0
	        }
	    },
	    componentDidMount: function () {
	        this._drawCircle();
	    },
	    _drawCircle: function () {
	        var id = this.refs.ucsRingProgress;
	        var opt = {
	            r: this.props.radius, //半径
	            b: this.props.border, //边框
	            color: this.props.color, //颜色，背影色，过渡色，最终色
	            speed: this.props.speed,//速度
	            perentvalue: this.props.value
	        };
	        if (!isNaN(opt.perentvalue)) {
	            var r = Raphael(id, 2 * opt.r, 2 * opt.r), R = opt.r - (opt.b / 2);
	        }
	        r.customAttributes.arc = function (value, R) {
	            if (value == 100) {
	                value = 99.999
	            }
	            var alpha = 3.6 * value, a = (90 - alpha) * Math.PI / 180, x = opt.r + R * Math.cos(a), y = opt.r - R * Math.sin(a), path;
	            path = [["M", opt.r, opt.r - R], ["A", R, R, 0, +(alpha > 180), 1, x, y]];
	            return {path: path}
	        };
	        r.path().attr({stroke: opt.color[0], "stroke-width": opt.b}).attr({arc: [100, R]});
	        if (opt.perentvalue > 0) {
	            var c = r.path().attr({
	                stroke: opt.color[1],
	                "stroke-width": opt.b,
	                "stroke-linecap": "round"
	            }).attr({arc: [0.01, R]});
	            setTimeout(function () {
	                c.animate({stroke: opt.color[2], arc: [opt.perentvalue, R]}, opt.speed)
	            })
	        }
	    },
	    render: function () {
	        return (
	            React.createElement("div", {className: "ucs-ring-progress", ref: "ucsRingProgress"})
	        )
	    }
	});
	module.exports = RingProgress;

/***/ },
/* 58 */
/***/ function(module, exports) {

	/**
	 * Created by DuHuiling on 2017/4/27.
	 */
	var Carousel = React.createClass({displayName: "Carousel",
	    getDefaultProps:function(){
	        return{
	            data:this.props.data,
	            activeIdx:this.props.activeIdx ? this.props.activeIdx:1,
	            interval:400,
	            intSpeed:50,
	            autoPlay: this.props.autoPlay ? this.props.autoPlay : true,
	            autoPlaySpeed: this.props.autoPlaySpeed ? this.props.autoPlaySpeed:5000
	        }
	    },
	    getInitialState:function(){
	        return{
	            _width:0,
	            distance:0,
	            activeIdx:this.props.activeIdx,
	            _children:[]
	        }
	    },
	    _prev:function(){
	        var _this = this;
	        var curr = _this.state.activeIdx,
	            len = _this.props.children.length,
	            _distance = _this.state.distance;
	        var _nodeUL = _this.refs.scroll;
	        var t;

	        var beforeNum;
	        if(curr - 2 < 0){
	            beforeNum = len + (curr - 2);
	        }else{
	            beforeNum = curr - 2;
	        }
	        curr - 1 < 0 ? _this.state.activeIdx = len - 1 : _this.state.activeIdx--;

	        _nodeUL.insertBefore(
	            _this.props.children[beforeNum],_nodeUL.childNodes[0]
	        );
	        _nodeUL.style.left = (-_distance) + "px";

	        var _orgWidth = Number(_nodeUL.style.left.slice(0, -2));
	        var interval = _this.props.interval;

	        t = setInterval(function(){
	            if(interval > 0){
	                _nodeUL.style.left = (_orgWidth + _distance * _this.props.intSpeed / _this.props.interval) + "px";
	                _orgWidth = Number((_orgWidth + _distance * _this.props.intSpeed / _this.props.interval).toFixed(2));
	                interval -= _this.props.intSpeed;
	                _this.refs.prev.disabled = true;
	            }else{
	                _nodeUL.childNodes[2].className = "";
	                _nodeUL.childNodes[1].className = "active";
	                _nodeUL.style.left = "0px";
	                _this.refs.prev.disabled = false;
	                clearInterval(t);
	            }
	        },_this.props.intSpeed);
	    },
	    _next:function(){
	        var _this = this;
	        var curr = _this.state.activeIdx,
	            len = _this.props.children.length,
	            _distance = _this.state.distance;
	        var _nodeUL = _this.refs.scroll;
	        var t;

	        var beforeNum;
	        if(curr - 1 < 0){
	            beforeNum = len + (curr - 1);
	        }else{
	            beforeNum = curr - 1;
	        }

	        curr + 1 > len - 1 ? _this.state.activeIdx = 0 : _this.state.activeIdx++;

	        var _orgWidth = Number(_nodeUL.style.left.slice(0, -2));
	        var interval = _this.props.interval;

	        t = setInterval(function(){
	            if(interval > 0){
	                _nodeUL.style.left = (_orgWidth - _distance * _this.props.intSpeed / _this.props.interval) + "px";
	                _orgWidth = Number((_orgWidth - _distance * _this.props.intSpeed / _this.props.interval).toFixed(2));
	                interval -= _this.props.intSpeed;
	                _this.refs.next.disabled = true;
	            }else{
	                _nodeUL.childNodes[1].className = "";
	                _nodeUL.childNodes[2].className = "active";
	                _nodeUL.appendChild(
	                    _this.props.children[beforeNum]
	                );
	                _nodeUL.style.left = "0px";
	                _this.refs.next.disabled = false;
	                clearInterval(t);
	            }
	        },_this.props.intSpeed);
	    },
	    mouseEnterHandler: function(){
	        if(this.timer){
	            clearInterval(this.timer);
	            this.timer = null;
	        }
	    },
	    mouseLeaveHandler: function(){
	        var _this = this;
	        _this.timer = null;
	        if(_this.props.autoPlay && _this.props.children.length > 3){
	            _this.timer = setInterval(function(){
	                _this._next();
	            },_this.props.autoPlaySpeed);
	        }
	    },
	    componentDidMount:function(){
	        var _this = this;
	        var len = _this.props.children.length,
	            _nodeUL = _this.refs.scroll;

	        if(len > 3){
	            _this.state.distance = _this.props.children[0].offsetWidth;
	            _this.props.children[_this.props.activeIdx].className = "active";
	            var _w = 0;
	            for(var i = 0;i < len;i++){
	                _w += _this.props.children[i].offsetWidth;
	            }
	            _nodeUL.style.width = _w + "px";

	            //自动轮播
	            _this.mouseLeaveHandler();
	        }else{
	            _nodeUL.style.width = "100%";
	            if(len > 1){
	                _this.props.children[1].className = "active";
	            }
	        }

	        if (window.addEventListener) {
	            document.addEventListener('visibilitychange',function(){
	                if(document.visibilityState == 'hidden') {
	                    _this.mouseEnterHandler();
	                } else{
	                    _this.mouseLeaveHandler();
	                }
	            });
	        }else{
	            document.attachEvent('visibilitychange',function(){
	                if(document.visibilityState == 'hidden') {
	                    _this.mouseEnterHandler();
	                } else{
	                    _this.mouseLeaveHandler();
	                }
	            });
	        }

	    },
	    render:function(){
	        var _this = this;
	        var len = _this.props.children.length;
	        return(
	            React.createElement("div", {className: "ucs-carousel", onmouseenter: _this.mouseEnterHandler.bind(_this), onmouseleave: _this.mouseLeaveHandler.bind(_this)}, 
	                len > 3 ?
	                    React.createElement("button", {disabled: false, ref: "prev", className: "ucs-carousel-prev iconfont icon-arrow-left", onClick: this._prev}) : "", 
	                
	                React.createElement("div", {style: {overflow:"hidden",position:"relative",height:"570px"}}, 
	                    React.createElement("ul", {ref: "scroll", className: "project-item", style: {width:this.state._width+"px",position:"absolute",left:"0px"}}, 
	                        this.props.children
	                    )
	                ), 
	                len > 3 ?
	                    React.createElement("button", {disabled: false, ref: "next", className: "ucs-carousel-next iconfont icon-arrow-right", onClick: this._next}) : ""
	                
	            )
	        )
	    }
	});
	module.exports = Carousel;

/***/ }
/******/ ]);